@use "@/styles/variables" as *;
.main-app{
  width: 100%;
  height: 100%;
  position: relative;
  color: $color-primary;
  font-size: 16px;
  background: url("@/assets/icons/main-app-bg.png") center/100% 100% no-repeat;
  .ctn-box{
    .ctn-box-title{
      height: 37px;
      line-height: 33px;
      padding-left: 43px;
      font-family: PangMenZhengDao;
      font-size: 20px;
      color: $text-color;
      position: relative;
      .title-tab{
        position: absolute;
        top: 5px;
        right: 10px;
        height: 27px;
        line-height: 27px;
        font-size: 16px;
        color: #F0F4FF;
        text-align: center;
        font-family: SourceHanSansCN-Regular, SourceHanSansCN-Regular;

        span{
          display: inline-block;
          width: 50px;
          height: 100%;
          background: url("@/assets/icons/title.png") center/100% 100% no-repeat;
          margin: 0 -5px;
          cursor: pointer;
          &.active,&:hover{
            background: url("@/assets/icons/title-active.png") center/100% 100% no-repeat;
          }
        }
      }
    }
    .ctn-box-base{
      width: 100%;
      height: calc(100% - 37px);
    }
  }
  .main-app-header{
    height: 92px;
    text-align: center;
    position: relative;

    .title{
      line-height: 48px;
      font-family: YouSheBiaoTiHei;
      font-size: 36px;
      background: linear-gradient(0deg, rgba(119,186,255,.45) 0%, rgba(233,248,255,.9) 73.3154296875%, rgba(255,255,255,1) 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      filter: drop-shadow(0 3px 1px rgba(0, 0, 0, .66));
      letter-spacing: 6px;
    }
    .header-data{
      position: absolute;
      top: 41px;
      right: 42px;
    }
    .header-logo{
      position: absolute;
      top: 41px;
      left: 42px;
      width: 182px;
      height: 33px;
    }
  }
  .main-app-ctn{
    width: 100%;
    height: calc(100% - 92px);
    padding: 0 42px 56px;
    .box{
      background: url("@/assets/icons/ctn-top-box-bg.png") center/100% 100% no-repeat;
      display: flex;
      align-items: center;
      @extend %title;
      img{
        width: 88px;
        height: 85px;
        margin-right: 8px;
      }
      .box-details-row{
          width: 100%;
          height: 36px;
          line-height: 36px;
          display: flex;
          justify-content: space-between;
          padding: 0 17px;
          margin-bottom: 5px;
          &.bdr-1{
            background: url("@/assets/icons/ctn-top-box-base-bg.png") center/100% 100% no-repeat;
          }
          em{
            font-style: initial;
          }
          b{
            font-size: 16px;
            color: rgba(255, 190, 65, 1);
          }
          i{
            display: block;
            position: relative;
            font-style: initial;
            margin-left: 8px;
            min-width: 50px;
            line-height: 53px;
            &:before{
              position: absolute;
              left: 0;
              content: "";
              width: 14px;
              height: 100%;
            }
            &.i-up{
              color: $text-color-base !important;
              text-indent: 13px;
              &:before{
                background: url("@/assets/icons/up.png") center/100% 14px no-repeat;
              }
            }
            &.i-down{
              color: rgba(255, 62, 62, 1) !important;
              text-indent: 15px;
              &:before{
                background: url("@/assets/icons/down.png") center/100% 14px no-repeat;
              }
            }
          }
          .sp1{
            font-size: 18px;
            display: inline-flex;
            i{
              font-size: 24px;
              color: $text-color-inverse;
              font-family: din-bold;
            }
          }
          .sp2{
            font-size: 16px;
            color: rgba(206, 220, 230, 1);
            display: flex;
            align-items: center;
            i{
              font-size: 18px;
              color: $text-color-base;
              @extend %title;
            }
          }
        }
    }
    .main-app-ctn-top{
      width: 100%;
      height: 184px;
      background: url("@/assets/icons/ctn-top-bg.png") center/100% 100% no-repeat;
      .ctn-box-base{
        padding: 14px 1px;
        display: flex;
        .box{
          width: 590px;
          height: 100%;
          margin: 0 9px;

          .box-details {
            min-width: 467px;
          }
        }
      }
    }
    .main-app-ctn-box{
      width: 100%;
      height: calc(100% - 184px);
      display: flex;
      justify-content: space-between;
      padding-top: 18px;

      .ctn-box{
        width: 444px;
        min-width: 444px;
        height: 100%;
        background: url("@/assets/icons/ctn-box-bg.png") center/100% 100% no-repeat;

        .table-head{
          width: 100%;
          height: 32px;
          line-height: 32px;
          background: url("@/assets/icons/table-head-bg.png") center/100% 100% no-repeat;
        }
        .tr{
          width: 100%;
          color: rgba(236, 249, 255, 1);
          span{
            display: inline-block;
            width: 21%;
            height: 100%;
            font-size: 16px;
            text-align: center;
          }
          .ps-y{
            font-size: 18px;
            color: $text-color-inverse;
            font-family: din-bold;
          }
          .ps-up{
            color: rgba(0, 242, 222, 1);
          }
          .ps-down{
            color: rgba(239, 66, 71, 1);
          }
        }
      }

    }
  }
}